package com.itheima.health.service;

import com.itheima.health.entity.OrderSubmitParam;
import com.itheima.health.pojo.Order;

import java.util.List;
import java.util.Map;

public interface OrderService {
    Integer add(OrderSubmitParam orderSubmitParam);
    Order findById(Integer id);

    Integer countBySetMealId(Integer id);





    /**
     * 统计套餐预约数量
     * 返回值格式：
     * [{"name":"xxxx年龄段       "，"value":人数}]
     * @return
     */
    List<Map<String, Object>> setMemberAge();
}
